From: Sam Steingold Date: Thu, 3 Feb 2011 19:59:17 +0000 (-0500) Subject: * lisp/progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom): X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~324^2~4940 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=ecba932bed5f7453f0fa5285c70e4e0f671cb962;p=emacs.git * lisp/progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom): Do not error out when `func' is nil. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 6bd3b07d4f7..204a3ddc530 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2011-02-03 Sam Steingold + + * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom): + Do not error out when `func' is nil. + 2011-02-03 Michael Albinus * net/tramp-sh.el (tramp-remote-path): Add default settings for diff --git a/lisp/progmodes/gdb-mi.el b/lisp/progmodes/gdb-mi.el index ce7de946b5e..bbe9722f548 100644 --- a/lisp/progmodes/gdb-mi.el +++ b/lisp/progmodes/gdb-mi.el @@ -2347,7 +2347,8 @@ HANDLER-NAME handler uses customization of CUSTOM-DEFUN. See (bindat-get-field breakpoint 'what) (or pending at (concat "in " - (propertize func 'font-lock-face font-lock-function-name-face) + (propertize (or func "unknown") + 'font-lock-face font-lock-function-name-face) (gdb-frame-location breakpoint))))) ;; Add clickable properties only for breakpoints with file:line ;; information